{template game_header}

<style type="text/css">
td{text-align:center;}
</style>

<h4 style="padding-left:10px;;">
    <span>POI管理</span>

    <span style="float:right;font-size:14px;"><i class="icon-plus-sign"></i> <a href="?c=adminGame&a=addPoiRule">添加</a> &nbsp; </span>
</h4>

<div class="bs-docs-example table-align pt-15" style="clear:both;">
    <table class="table table-striped">
        <thead>
            <tr>
                <th>ID</th>
                <th>名称</th>
                <th>类型</th>
                <th>icon</th>
                <th>大图</th>
                <th>体力值</th>
                <th>攻击力</th>
                <th>免伤比</th>
                <th>关键字</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            {if !$list}  
                <tr>
                    <td colspan="10">暂无记录</td>              
                </tr>
            {else}

            {loop $list $k $v}
            <tr>
                <td>{$v['id']}</td>
                <td>{$v['name']}</td>
                <td>{$v['type']}</td>
                <td><img src="{$v['img_icon']}"></td>
                <td><img src="{$v['img_big']}"></td>
                <td>{$v['hp']}</td>
                <td>{$v['attack']}</td>
                <td>{$v['attack_reduce']}%</td>
                <td>{$v['poi_keywords']}</td>
                <td>
                    <a class="btn btn-edit" href="?c=adminGame&a=addPoiRule&id=$v['id']">修改</a>
                </td>
            </tr>
            {/loop}

            {/if}
        </tbody>
    </table>
</div>
<div class="pagination">
    <ul>
        {$pageStr}
    </ul>
</div>
{template footer}
